from pydantic import BaseModel


class UserRegisterModel(BaseModel):
    username: str | None = None
    password: str | None = None 

class UserLoginModel(BaseModel):
    id: int | None = None
    password: str | None = None

class UserChangePasswordModel(BaseModel):
    id: int | None = None
    oldPassword: str | None = None
    newPassword: str | None = None

class UserChengeUsernameModel(BaseModel):
    id: int | None = None
    newUsername: str | None = None

class UserDeleteModel(BaseModel):
    id: int | None = None


class UserAddEmailModel(BaseModel):
    id: int | None = None
    email: str | None = None

class UserChangeEmailModel(BaseModel):
    id: int | None = None
    oldEmail: str | None = None
    newEmail: str | None = None

class UserForgetPasswordModel(BaseModel):
    id: int | None = None
    email: str | None = None
    newPassword: str | None = None